package com.lovo.bbs.controller;

import com.lovo.bbs.bean.form.ReplyForm;
import com.lovo.bbs.result.ResponseResult;
import com.lovo.bbs.result.UserValid;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/replys")
@Tag(name = "回帖控制器")
@UserValid
public class ReplyController {
    @GetMapping
    @ResponseResult
    @Operation(summary = "根据帖子ID查询回帖")
    public Object listByPostId(int postId,int current,int pageSize){
        return null;
    }
    @PostMapping
    @ResponseResult
    @Operation(summary = "新增回帖")
    public Object save(@RequestBody ReplyForm replyForm){
        return null;
    }
}
